<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%-- <!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>用户信息.txt查询</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui//themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/demo/demo.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.min.js" ></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript">
	    
	function getData() {
		var url = "${pageContext.request.contextPath}/userserviceinfo/checkone.do";
		var data = {phnumber:$('#phonenum').val()}
		$.post(url,data,function(res){
			var json = JSON.parse(res);
			alert(json);
			$('#tablecorp').datagrid('loadData',json)
			$('#tablecorp').datagrid('reload'); 
		})
	}
	</script>
</head>
<body> --%>
	<h2>用户信息查询</h2>
	<div>
	<input id="phonenum" type="text" />
	<input id="btnsub" type="submit" value="查询" onclick="getData()">	
	</div>
	<table id="tablecorp" class="easyui-datagrid" title=" " style="width:700px;height:250px"
			data-options="singleSelect:true,collapsible:true">
		<thead>
			<tr>
				<th data-options="field:'userservid',width:80,halign:'center'">用户业务编号</th>
				<th data-options="field:'phonenumber',width:80,halign:'center'">用户号码</th>
				<th data-options="field:'servicetype',width:80,align:'right',halign:'center'">业务类型</th>
				<th data-options="field:'servstatus',width:80,align:'right',halign:'center'">被叫彩铃状态</th>
				<th data-options="field:'createtime',width:80,halign:'center'">被叫开户时间</th>
				<th data-options="field:'callercreatetime',width:200,align:'center',halign:'center'">主叫开户时间</th>
				<th data-options="field:'adcreatetime',width:80,align:'center',halign:'center'">广告开户时间</th>
				<th data-options="field:'upstatustime',width:80,align:'center',halign:'center'">被叫彩铃状态更新时间</th>
				<th data-options="field:'operator',width:80,align:'center',halign:'center'">被叫操作来源</th>
				<th data-options="field:'setpriority',width:90,align:'center',halign:'center'">设置优先级</th>
				<th data-options="field:'calledtonepriority',width:90,align:'center',halign:'center'">被叫铃音优先级</th>
				<th data-options="field:'callingtonepriority',width:200,align:'center',halign:'center'">主叫铃音优先级</th>
				<th data-options="field:'localid',width:90,align:'center',halign:'center'">用户地区</th>
				<th data-options="field:'brandid',width:80,align:'center',halign:'center'">用户品牌</th>
				<th data-options="field:'subcosid',width:80,align:'center',halign:'center'">用户子品牌</th>
				<th data-options="field:'netkind',width:110,align:'center',halign:'center'">网络类型</th>
				<th data-options="field:'copytype',width:120,align:'center',halign:'center'">是否允许被复制</th>
				<th data-options="field:'paykind',width:100,align:'center',halign:'center'">付费类型</th>
				<th data-options="field:'isarrear',width:100,align:'center',halign:'center'">是否欠费</th>
				<th data-options="field:'reservetime',width:100,align:'center',halign:'center'">被叫业务结束时间点</th>
				<th data-options="field:'operateid',width:100,align:'center',halign:'center'">序列号唯一标识</th>
				<th data-options="field:'isbgtone',width:100,align:'center',halign:'center'">是否播放彩铃背景音</th>
				<th data-options="field:'brandmodifydate',width:100,align:'center',halign:'center'">品牌变更时间</th>
				<th data-options="field:'operinitinfo',width:100,align:'center',halign:'center'">操作员帐号</th>
				<th data-options="field:'modeid',width:100,align:'center',halign:'center'">用户运营模式编号</th>
				<th data-options="field:'callerservstatus',width:100,align:'center',halign:'center'">主叫彩铃状态</th>
				<th data-options="field:'adservstatus',width:100,align:'center',halign:'center'">广告彩铃状态</th>
				<th data-options="field:'calleroperator',width:100,align:'center',halign:'center'">主叫彩铃操作来源</th>
				<th data-options="field:'adoperator',width:100,align:'center',halign:'center'">广告彩铃操作来源</th>
				<th data-options="field:'callerupstatustime',width:100,align:'center',halign:'center'">主叫彩铃状态更新时间</th>
				<th data-options="field:'adupstatustime',width:100,align:'center',halign:'center'">广告彩铃状态更新时间</th>
				<th data-options="field:'callerreservetime',width:100,align:'center',halign:'center'">主叫业务结束时间点</th>
				<th data-options="field:'playway',width:100,align:'center',halign:'center'">铃音播放方式</th>
				<th data-options="field:'custtype',width:100,align:'center',halign:'center'">客户类型</th>
				<th data-options="field:'band',width:100,align:'center',halign:'center'">客户品牌</th>
				<th data-options="field:'usergroup',width:100,align:'center',halign:'center'">客户群组</th>
				<th data-options="field:'adcalledservstatus',width:100,align:'center',halign:'center'">被叫广告彩铃状态/th>
				<th data-options="field:'adcalledcreatetime',width:100,align:'center',halign:'center'">被叫广告开户时间</th>
				<th data-options="field:'adcalledupststime',width:100,align:'center',halign:'center'">被叫广告彩铃状态更新时间</th>
				<th data-options="field:'adcalledoperator',width:100,align:'center',halign:'center'">被叫广告彩铃操作来源</th>
				<th data-options="field:'totalintegral',width:100,align:'center',halign:'center'">用户总积分数</th>
				<th data-options="field:'scpid',width:100,align:'center',halign:'center'">用户scpID</th>
				<th data-options="field:'musicshowflag',width:100,align:'center',halign:'center'">musicshowflag</th>
				<th data-options="field:'modulecode',width:100,align:'center',halign:'center'">modulecode</th>
				<th data-options="field:'openoperator',width:100,align:'center',halign:'center'">openoperator</th>
				<th data-options="field:'openmodulecode',width:100,align:'center',halign:'center'">openmodulecode</th>
				<th data-options="field:'chargeflag',width:100,align:'center',halign:'center'">chargeflag</th>
				<th data-options="field:'userplatformtype',width:100,align:'center',halign:'center'">userplatformtype</th>
				<th data-options="field:'discinfo',width:100,align:'center',halign:'center'">discinfo</th>
				<th data-options="field:'crbtid',width:100,align:'center',halign:'center'">crbtid</th>
				
				
			</tr>
		</thead>
	</table>
<!-- 
</body>
</html> -->

